package com.yan.design.two.behavior.s3;

/**
 * 3. 访问者模式
 *     家人
 * @author shengren.yan
 * @create 2022-08-08
 */
public class Family implements Vistor {

    @Override
    public void vistor(Prize prize) {
        System.out.println("访问者家人：辛苦了 " + prize.getName());
    }

}
